package day5.day5_2;

import java.io.BufferedReader;
import java.io.FileReader;

public class a {
    public static void main(String[] args) throws Exception {
        FileReader reader = new FileReader("C:\\Users\\董\\Documents\\Tencent Files\\2777388365\\FileRecv\\data.txt");
        BufferedReader bufferedReader = new BufferedReader(reader);
        String x=null;
        int x1=0;
        while ((x= bufferedReader.readLine())!=null){
            if (x1<Integer.parseInt(x)){
                x1=Integer.parseInt(x);
            }
        }
        System.out.println(x1);
    }
}
